package com.show.business.device.bean.vo;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * <p>
 * 设备告警
 * </p>
 *
 * @author dvlp
 * @since 2023-10-28
 */
public class AlarmTmpVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("imei")
    private String imei;

    @ApiModelProperty("告警时间")
    private Date alarmTime;

    @ApiModelProperty("保存时间")
    private String createTime;

    @ApiModelProperty("设备通信状态（0-离线；1-在线；)")
    private String deviceStatus;

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public Date getAlarmTime() {
        return alarmTime;
    }

    public void setAlarmTime(Date alarmTime) {
        this.alarmTime = alarmTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getDeviceStatus() {
        return deviceStatus;
    }

    public void setDeviceStatus(String deviceStatus) {
        this.deviceStatus = deviceStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("imei", getImei())
                .append("alarmTime", getAlarmTime())
                .append("createTime", getCreateTime())
                .append("deviceStatus",getDeviceStatus())
                .toString();
    }
}
